package com.lupan.mutithred.cp1_SemaphoreAndExchanger;

/**
 * 说明：
 *
 * @author lupan
 * @version 2017/3/30 11:22
 */
public class Run {
    public static void main(String[] args) {
        Service service = new Service();

        MyThread[] array = new MyThread[20];
        for (int i = 0; i < array.length; i++) {
            array[i] = new MyThread(service);
            array[i].start();
        }
    }
}
